<% @page_title = "Login" %>
<%= stylesheet_link_tag "default/common", :media => "all" %>
<%= stylesheet_link_tag "default/login", :media => "all" %>

<div class="title"><span class="title_icon login"><%=image_tag("login-icon.png") %></span>Login</div>
<div class='clear'></div>

<div class="login-form">
  <div class='content'>
  <%= form_tag(:controller => 'default/user', :action => 'login_attempt') do %>
  <p><label>Username</label><%= text_field_tag :username_or_email %></p>
  <p><label>Password</label><%= password_field_tag :login_password %></p>
  <p><label>&nbsp;</label><%= link_to "Forgot Password", :controller => "default/user", :action => "forgot_passw" %></p>
  <p><label>&nbsp;</label><%= submit_tag('Login') %></p>
  <% end %>
  </div><!-- End .content -->
</div><!-- End .login-form -->
<div class='clear'></div>

<% if flash[:notice] %>
<div class="title" style="margin-top: 30px"><span class="title_icon login"><%=image_tag("login-icon.png") %></span>Notice</div>
<div class='clear'></div>
  <div class="notice">
  	<div class='content'>
  		<%= flash[:notice] %>
  	</div>
  </div><!-- End .notice -->
<% end %>
